package com.yupi.springbootinit.statemachine.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

/**
 * 可用状态转换查询请求DTO
 */
@Data
@Schema(description = "可用状态转换查询请求")
public class AvailableTransitionsRequest {
    
    @NotBlank(message = "状态类型不能为空")
    @Schema(description = "状态类型", example = "ORDER", allowableValues = {"ORDER", "PROCESS_INSTANCE", "PROCESS_SHEET", "PRODUCTION_SCHEDULE", "QUALITY_INSPECTION"})
    private String stateType;
    
    @NotBlank(message = "当前状态不能为空")
    @Schema(description = "当前状态", example = "CREATED")
    private String currentState;
}